﻿@model IEnumerable<Chbl.Models.Article>

<article class="col2 marg_right1">
    <dl class="gallery1">    
        <dt class="left marg_right1">             
            <a href="@Url.Action("Details", "Article", new { id = @Model.First().ArticleId })" >
               <img src="@Model.First().BigImageUrl" alt="" id="largeImg">
            </a>
         </dt>
        <dd>
        <ul>                                                
        @foreach (var article in Model)
        {
            <li>
                <a href="@article.BigImageUrl" articletitle="@article.Title" articleurl="@Url.Action("Details", "Article", new { id = @article.ArticleId })">
                    <span><span>
                        <img src="@article.SmallImageUrl" alt="" class="left marg_right1"><strong>@article.Title</strong>
                    </span></span>
                 </a>
            </li>                
        }
          </ul>
        </dd>
    
    </dl>        
    <div class="box">
        <div class="box_left">
            <div class="box_right">
                <div id="topNewsFooterId" class="wrapper">
                    <h2>@Model.First().Title</h2>        
                     <ul class="link">
                        <li><a href="@Url.Action("Details", "Article", new { id = @Model.First().ArticleId })">Подробнее</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</article>

